package com.hand.wyc24548.domain.repository;

import com.hand.wyc24548.domain.entity.Customer;
import io.choerodon.core.domain.Page;
import io.choerodon.mybatis.pagehelper.domain.PageRequest;
import org.hzero.mybatis.base.BaseRepository;

/**
 * @Author wangyc
 * @create 2019/8/8 20:06
 */
public interface CustomerRepository extends BaseRepository<Customer> {

    /**
     * 分页查询客户信息
     * @param customer
     * @param pageRequest
     * @return
     */
    Page<Customer> selectCustomer(Customer customer, PageRequest pageRequest);
}
